crypto/tls.clientHelloMsg.alpnProtocols (field)
19 uses
crypto/tls (current package)
handshake_client.go#L79: alpnProtocols: config.NextProtos,
handshake_client.go#L488: for _, alpn := range hello.alpnProtocols {
handshake_client.go#L890: if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol, false); err != nil {
handshake_client_tls13.go#L570: if err := checkALPN(hs.hello.alpnProtocols, encryptedExtensions.alpnProtocol, c.quic != nil); err != nil {
handshake_messages.go#L89: alpnProtocols []string
handshake_messages.go#L232: if len(m.alpnProtocols) > 0 {
handshake_messages.go#L240: for _, proto := range m.alpnProtocols {
handshake_messages.go#L580: m.alpnProtocols = append(m.alpnProtocols, string(proto))
handshake_messages.go#L698: alpnProtocols: slices.Clone(m.alpnProtocols),
handshake_server.go#L230: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, false)
handshake_server.go#L964: SupportedProtos: clientHello.alpnProtocols,
handshake_server_tls13.go#L262: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, c.quic != nil)
handshake_server_tls13.go#L588: len(ch.alpnProtocols) != len(ch1.alpnProtocols) {
handshake_server_tls13.go#L616: for i := range ch.alpnProtocols {
handshake_server_tls13.go#L617: if ch.alpnProtocols[i] != ch1.alpnProtocols[i] {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |